home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
install
/
package-.1
/
package-
/
package-0.1
/
usr.lib
/
prepare
< prev
Wrap
Text File
|
1993-03-18
|
417b
|
20 lines
#!/bin/sh
#
# $Id: prepare.sh,v 1.2 1993/02/19 13:46:30 mike Exp $
#
# Prepare a target structure for general use. There are some things that
# packages shouldn't really set up themselves but which need doing.
target=$1
# Make any cat directories necessary.
if [ -d $1/man ]; then
ls -d $1/man/man? | sed 's/man\(.\)$/cat\1/' | while read i
do
if [ ! -d $i ]; then
mkdir $i
fi
chmod a=rwx,+t $i
done
fi